home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Education / PC-SiG's World of Education.iso / run / 2602 / tempvar.hlp < prev    next >
Encoding:
Text File  |  1989-06-03  |  1.2 KB  |  26 lines

  1. Temporary Variables
  2.  
  3. Temporary variables are created and named via assignment statements in
  4. the source code; the name appearing on the left side of the equal sign
  5. is given to the file.  For example,
  6.  
  7.      acceleration = (force1 + force2)/mass;
  8.  
  9. Temporary variables should not be given the same name as an
  10. existing file, otherwise their contents will be replaced with the values
  11. calculated for the expression on the right side of the equals sign, and
  12. then deleted when the algorithm is done.
  13.  
  14. This name must be unique within the current source code.  Variable
  15. names must start with a letter and may be of any length; however, only
  16. the first sixteen characters are significant to DAN and must therefore
  17. not match the first sixteen characters of any other variable name.  Also,
  18. only the first eight characters preceding a "." are significant to DOS.
  19. +
  20. Care must be taken to use variable names that are also legal DOS file
  21. names.  Characters in the name may be ".", any letter, or any digit. 
  22. The "." character (if used) should only appear once and can only be
  23. followed by 0 to 3 characters.  Upper or lower case may be used but
  24. does not count when distinguishing names; AB,aB,Ab, and ab are all
  25. considered to be the same name.
  26.